package org.senseframework.support.example.hibernate.domain;

import org.senseframework.support.orm.mybatis.annotations.Column;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by emeey on 2016/11/20.
 */
@Entity
@Table(name = "user")
public class User extends Basic {
    @Column
    private String account;
    @Column
    private String nickname;
    @Column
    private Integer age;
    @Column
    private String phone;
    @Column
    private String passwd;

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
